const { get, post } = require('./http')
const prefix = '/data/api.auth.team'
// 联系联盟
export const getContact = (params) => {
    return post(`${prefix}/contact`, params)
}
// 创建球队
export const createTeam = (params) => {
    return post(`${prefix}/createteam`, params)
}
// 获取队长下拉
export const getPlayer = (params) => {
    return get(`${prefix}/getplayer`, params)
}
// 球队详细信息
export const getTeamInfo = (params) => {
    return get(`${prefix}/teaminfo`, params)
}
// 我的校友列表
export const getMyPlayer = (params) => {
    return get(`${prefix}/mytmplayers`, params)
}
// 获取校队赛事
export const getMatch = (params) => {
    return get(`${prefix}/getmatch`, params)
}
// 发起约球
export const createBall = (params) => {
    return get('/data/api.auth.myball/createball', params)
}
// 获取约球详情
export const getBallInfo = (params) => {
    return get('/data/api.auth.myball/ballinfo', params)
}
// 获取联盟校友
export const getCityFriend = (params) => {
    return get('/data/api.auth.myball/cityfriend', params)
}
// 获取约球列表
export const getBallList = (params) => {
    return get('/data/api.auth.myball/balllist', params)
}
//加入约球
export const addBall = (params) => {
    return get('/data/api.auth.myball/addball', params)
}